<?php

namespace Common\Behavior;

use Think\Behavior;

/**
 * 配置加载
 * Class ConfigLoadBehavior
 * @package Common\Behavior
 */
class ConfigLoadBehavior extends Behavior
{
    public function run(&$params)
    {
        $config = D('Config', 'Api')->lists();
        C($config);
    }
}